.page {
  overflow: hidden;
}

.view {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  // --bottom-sheet-max-height: 80vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #b1c1c0;
  --toast-background-color:#000;
  --toast-border-radius: 40rpx;
}

.borBot {
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;
}

.navBar {
  --nav-bar-background-color: transparent;
  --nav-bar-title-text-color: #000;
  --nav-bar-arrow-color: #000 !important;
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;

  .tabTopIconWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 46rpx;
      width: 46rpx;
      object-fit: contain;
    }
  }
  .tabTopIconWrapLeft {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 48rpx;
      width: 48rpx;
      object-fit: contain;
    }
  }
}

.control {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-left: 80rpx;
  padding-right: 80rpx;

  .controlItem {
    height: 180rpx;
    width: 120rpx;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    .controlItemIconBox {
      height: 120rpx;
      width: 120rpx;
      background-color: #d3e0db;
      border-radius: 60rpx;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .controlItemIconBoxActive {
      background-color: #40a1a7;
    }

    .controlItemIcon {
      height: 60rpx;
      width: 60rpx;
    }

    .controlItemText {
      font-size: 28rpx;
      line-height: 44rpx;
      color: #535956;
    }

    .controlItemTextActive {
      color: #40a1a7;
    }
  }
}

.settingBox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  .lockBox {
    margin-left: 40rpx;
    margin-right: 40rpx;

    .switchBox {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      height: 80rpx;
      .switch {
        margin-left: 10rpx;
        margin-right: 10rpx;
        margin-top: 8rpx;
      }
    }
  }

  .lock {
    height: 48rpx;
    width: 48rpx;
  }

  .settingIcon {
    height: 80rpx;
    width: 80rpx;
  }

  .settingText {
    margin-top: 16rpx;
    text-align: center;
    color: #535956;
    font-size: 28rpx;
    line-height: 44rpx;
  }
}

.curtainBox {
  height: 446rpx;
  width: 670rpx;
  background-image: url('../../../res/border.png');
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  .windowbg {
    height: 414rpx;
    width: 638rpx;
    background-size: 100% 100%;
    background-image: url('../../../res/windowbg.png');
  }
}
.chargeBox {
  height: 86rpx;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding-right: 40rpx;

  .sunIcon {
    height: 86rpx;
    width: 86rpx;
  }

  .chargeContainer {
    background-image: url('../../../res/battery.png');
    width: 64rpx;
    height: 34rpx;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-right: 16rpx;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;

    .chargeIcon {
      position: absolute;
      width: 22rpx;
      height: 22rpx;
      top: 6rpx;
      left: 18rpx;
      z-index: 3;
    }

    .chargeBlockContainer {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin-left: 10rpx;
    }
    .chargeBlock {
      width: 7rpx;
      height: 18rpx;
      background-color: #0f0;
      margin-right: 4rpx;
    }
    .chargeBlockDanger{
      background-color: #f00;
    }
  }

  .chargeText {
    font-weight: bold;
    color: #fff;
    font-size: 26rpx;
  }
}

.bottomBox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  margin-bottom: 100rpx;
  margin-top: 60rpx;
}

.toast{ 
  // height: 120rpx;
  // width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 28rpx;
  .icon{
    margin-right: 10rpx;
  }
}